package user

import (
	"gin/controller/user"

	"github.com/gin-gonic/gin"
)

func UserRoute(r *gin.Engine) {
	r.POST("/user", user.CreateUser)
	r.GET("/user", user.Login)
	r.PUT("/user", user.SetUser)
	r.DELETE("/user", user.DelUser)
}
